﻿using CanDoo.Admin.Core.Contracts.Impl;
using CanDoo.Oil.Core.Contracts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CanDoo.Admin.Core.Contracts;

namespace CanDoo.Oil.Core.Services
{
    public class OilSiteConfig : SiteConfig, IOilSiteConfig
    {


        public OilSiteConfig(IConfigContract configContract) : base(configContract)
        {
        }

        /// <summary>
        /// PAD固件操作系统
        /// </summary>
        public  string PAD_DOS
        {
            get
            {
                return GetValue("PAD_DOS");
            }
            set
            {
                SetValue("PAD_DOS", value.ToString());
            }
        }

        /// <summary>
        /// PAD固件版本号
        /// </summary>
        public  string PAD_VERSION
        {
            get
            {
                return GetValue("PAD_VERSION");
            }
            set
            {
                SetValue("PAD_VERSION", value.ToString());
            }
        }

        /// <summary>
        /// PAD固件地址
        /// </summary>
        public  string PAD_URL
        {
            get
            {
                return GetValue("PAD_URL");
            }
            set
            {
                SetValue("PAD_URL", value.ToString());
            }
        }

        /// <summary>
        /// PAD固件名称
        /// </summary>
        public  string PAD_NAME
        {
            get
            {
                return GetValue("PAD_NAME");
            }
            set
            {
                SetValue("PAD_NAME", value.ToString());
            }
        }

        /// <summary>
        /// PAD固件说明
        /// </summary>
        public  string PAD_DES
        {
            get
            {
                return GetValue("PAD_DES");
            }
            set
            {
                SetValue("PAD_DES", value.ToString());
            }
        }

        /// <summary>
        /// PAD强制更新标志
        /// </summary>
        public  string PAD_UPDATETAB
        {
            get
            {
                return GetValue("PAD_UPDATETAB");
            }
            set
            {
                SetValue("PAD_UPDATETAB", value.ToString());
            }
        }

        /// <summary>
        /// MEDIA固件操作系统
        /// </summary>
        public  string MEDIA_DOS
        {
            get
            {
                return GetValue("MEDIA_DOS");
            }
            set
            {
                SetValue("MEDIA_DOS", value.ToString());
            }
        }

        /// <summary>
        /// MEDIA固件版本号
        /// </summary>
        public  string MEDIA_VERSION
        {
            get
            {
                return GetValue("MEDIA_VERSION");
            }
            set
            {
                SetValue("MEDIA_VERSION", value.ToString());
            }
        }

        /// <summary>
        /// MEDIA固件地址
        /// </summary>
        public  string MEDIA_URL
        {
            get
            {
                return GetValue("MEDIA_URL");
            }
            set
            {
                SetValue("MEDIA_URL", value.ToString());
            }
        }

        /// <summary>
        /// MEDIA固件名称
        /// </summary>
        public  string MEDIA_NAME
        {
            get
            {
                return GetValue("MEDIA_NAME");
            }
            set
            {
                SetValue("MEDIA_NAME", value.ToString());
            }
        }

        /// <summary>
        /// MEDIA固件说明
        /// </summary>
        public  string MEDIA_DES
        {
            get
            {
                return GetValue("MEDIA_DES");
            }
            set
            {
                SetValue("MEDIA_DES", value.ToString());
            }
        }

        /// <summary>
        /// MEDIA强制更新标志
        /// </summary>
        public  string MEDIA_UPDATETAB
        {
            get
            {
                return GetValue("MEDIA_UPDATETAB");
            }
            set
            {
                SetValue("MEDIA_UPDATETAB", value.ToString());
            }
        }
    }
}
